﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BTKERP.Model.Inventory
{
    #region RequisitionMasterInfo
    /// <summary>
    /// This object represents the properties and methods of a RequisitionMaster.
    /// </summary>
    [Serializable]
    public class RequisitionMasterInfo
    {
        protected string _id;
        protected int _toWarehouseId;
        protected string _requisitionCode = String.Empty;
        protected DateTime _requisitionDate;
        protected DateTime _fulfilledDate;
        protected int _requisitionedBy;
        protected int _fulfilledBy;
        protected DateTime _requestedDeliveryDate;
        protected decimal _requisitionTotal;
        protected string _status = String.Empty;
        protected DateTime _createdOn;
        protected string _createdBy = String.Empty;
        protected DateTime _updatedOn;
        protected string _updatedBy = String.Empty;

        public RequisitionMasterInfo()
        {
        }

        #region Public Properties
        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int ToWarehouseId
        {
            get { return _toWarehouseId; }
            set { _toWarehouseId = value; }
        }

        public string RequisitionCode
        {
            get { return _requisitionCode; }
            set { _requisitionCode = value; }
        }

        public DateTime RequisitionDate
        {
            get { return _requisitionDate; }
            set { _requisitionDate = value; }
        }

        public DateTime FulfilledDate
        {
            get { return _fulfilledDate; }
            set { _fulfilledDate = value; }
        }

        public int RequisitionedBy
        {
            get { return _requisitionedBy; }
            set { _requisitionedBy = value; }
        }

        public int FulfilledBy
        {
            get { return _fulfilledBy; }
            set { _fulfilledBy = value; }
        }

        public DateTime RequestedDeliveryDate
        {
            get { return _requestedDeliveryDate; }
            set { _requestedDeliveryDate = value; }
        }

        public decimal RequisitionTotal
        {
            get { return _requisitionTotal; }
            set { _requisitionTotal = value; }
        }

        public string Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedOn
        {
            get { return _createdOn; }
            set { _createdOn = value; }
        }

        public string CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public DateTime UpdatedOn
        {
            get { return _updatedOn; }
            set { _updatedOn = value; }
        }

        public string UpdatedBy
        {
            get { return _updatedBy; }
            set { _updatedBy = value; }
        }
        #endregion

    }
    #endregion
}
